<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>支付方式设置</title>
<include file="Public/header" />
<script type="text/javascript" src="__PUBLIC__/Js/jquery.validate.js"></script>
<script type="text/javascript">
$(function(){
    $("#myform").validate({
        rules: {
                payment_code : {
                    required: true,
                },
                payment_name : {
                    required: true,
                },
            
        },
        messages: {
                payment_code : {
                    required: '请输入支付Code！',
                },
                payment_name : {
                    required: '请输入支付名！',
                },
       },
    })
})

</script>
</head>


<body>
<div>
   
   
        <div class="list_vmall_man">
        	<div class="list_vmall_le">
        
              <include file="./Apps/BoxAdmin/View/Public/adminMenu.html" />
               
            </div>
            <div class="list_vmall_rig">
            	<ul class="breadcrumb">
                    <li><a href="<{:U('payment')}>">支付方式管理</a> </li>
                    <li class="active">修改支付方式</li>
                </ul>
                <div class="list_vmall_bort">
                    <form  enctype="multipart/form-data" id="myform" method="post" action="<{:U('paymentInsert')}>">
                     <input type="hidden" name="code" value="<{$code}>">
                     <input type="hidden" name="name" value="<{$name}>">
                     <input type="hidden" name="type" value="<{$type}>">
                    	<div class="vmall_padi">
                           
                            <div class="vmall_cle">
                                <label for="input-title" class="vmall_te_le">支付Code</label>
                                <div class="vmaal_rols" style="margin-top:6px;">
                                   <{$code}>
                                </div>
                            </div>

                             <div class="vmall_cle">
                                <label for="input-title" class="vmall_te_le">支付名</label>
                                <div class="vmaal_rols">
                                    <input type="text" class="vmaal_sinw1 input_a1 int_wod" id="payment_name" name="payment_name" value="<{$data['payment_name']?$data['payment_name']:$title}>">
                                    
                                </div>
                            </div>
							
							<volist name="configData"  id="v">
							<div class="vmall_cle">
                                <label for="input-title" class="vmall_te_le"><{$v}></label>
                                <div class="vmaal_rols">
                                    <input type="text" class="vmaal_sinw1 input_a1 int_wod" name="config[<{$key}>]" value="<{$configValue[$key]}>">
                                    
                                </div>
                            </div>
							</volist>
                            
                            <div class="vmall_cle">
                                <label for="input-title" class="vmall_te_le">描述</label>
                                <div class="vmaal_rols">
                                   <textarea name="payment_desc" id="payment_desc"><{$data.payment_desc}></textarea>
                            
                                </div>
                            </div>

                            <div class="vmall_cle">
                                <label for="input-title" class="vmall_te_le">图片</label>
                                <div class="vmaal_rols">
                                     <input name="img" type="file">
                                     <if condition="$data['img']">
                                         <img src="__Img__<{$data['img']}>" style="width:100px" />
                                     </if>
                                </div>
                            </div>
    
                            <div class="vmall_cle">
                                <div class="vmaal_rols">
                                    <button class="v_mall_q_1" style="border:0; height:32px; padding-top:0; cursor:pointer;" type="submit">确&nbsp;&nbsp;定</button>
                                </div>
                            </div>

                         </div>
                     </form> 
                </div>
                
            </div>
            
            
            <!--弹窗 AD-->
            
           <!--  <div class="modal hide fade in" id="guide_1" style="display:block;" aria-hidden="false">
                <div class="modal-body">
                    <img src="__AdminImages__/guide_1.jpg">
                </div>
                <div class="modal-footer">
                    <button aria-hidden="true" data-dismiss="modal" class="btn" style="padding:4px 12px; font-size:14px;">关闭</button>
                </div>
            </div> -->
            
            <!--弹窗 |End -->
        </div>
</div>
</body>
</html>
